<?php
	/**
	 * 商品内容页--商品不同规格组合后的价格
	 */
	class GoodsPriceModel extends ViewModel{
		protected $tableName = 'goods';

		protected $viewFields = array(
			'goods' => array(
			'id', 'sprice',
			'_type' => 'LEFT'
			),
			'goods_attr' => array(
				'id' => 'gspecid','price',
				'_on' => 'goods.id = goods_attr.gid'
			)
		);
	}